package com.lds.config.center.client.common.model.request;

import com.lds.management.center.common.model.pojo.BaseObject;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Map;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GetAllItemRequest extends BaseObject {
    private Long envId;
    @NotBlank(message = "环境名称不能为空")
    private String envName;
    private Long clusterId;
    @NotBlank(message = "集群名称不能为空")
    private String clusterName;
    private Long appId;
    @NotBlank(message = "应用名称不能为空")
    private String appName;
    @NotNull(message = "配置文件名称不能为空")
    private Map<String, Long> namespaceNameMap;
}
